﻿using System;

namespace HouseKeeperCore.Elemental
{
    /// <summary>
    ///  An exception that all exception thrown related to house keeper module should inherit
    /// </summary>
    public class HouseKeeperException : Exception
    {
        #region Constructors

        /// <summary>
        ///  Instantiates a house keeper exception with no arguments
        /// </summary>
        public HouseKeeperException()
        {
        }

        /// <summary>
        ///  Instantiates a house keeper exception with the specified message
        /// </summary>
        /// <param name="message">A message that describes the exception</param>
        public HouseKeeperException(String message)
            : base(message)
        {
        }

        /// <summary>
        ///  Instantiates a house keeper exception with the specified message and the inner exception
        /// </summary>
        /// <param name="message">A message that describes the exception</param>
        /// <param name="innerException">An exception that has caused this exception to happen</param>
        public HouseKeeperException(String message, Exception innerException)
            : base(message, innerException)
        {
        }

        #endregion
    }
}
